<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div {
            height:300px;
            background-color: red;
            text-align: center;
            line-height: 300px;
            color: white;

            /* transition-property: font-size;
            transition-duration: 2s;
            transition-timing-function: linear;  */

            transition: front-size 2s linear, background-color 2s linear, color 2s linear;
        }


        div:hover {
            font-size: 58px;
            background-color: peachpuff;
            color: aqua;
        }

        img {
            transition: width 2s linear;
        }

        img:hover {
            width: 300px;
        }
    </style>
</head>

<body>
    <div>兰州理工大学</div>
    <img width="250px" src="../音视频/音视频/6.jpg" alt="">
</body>

</html>